<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>

<title>登录界面</title>
<style type="text/css">

#center {
	width:50%;
	height:60%;
	position:absolute;
	top:20%;
	left:25%;

}

#left {
	width:35%;
	height:60%;
	float:left;

}

#mid {
	position:absolute;
	width:1%;
	height:60%;
	float:right;
	right:50%;
	background-image:url(image/layout-browser-hd-bg.gif);
	background-repeat:repeat-y;

}

#right {
	padding-top:20px;
	width:35%;
	height:60%;
	float:right;
	
}

#bottom {
	width:100%;
	height:2%;
	position:absolute;
	top:80%;
}

</style>
</head>

<body>
	
	<div id="center">
	<h1 align="center">Era新闻网用户登录</h1>
		<div id="left">
			<h2>用户登录</h2>
			请输入您的用户名和密码登录。<br>
			<s:form method="post" action="UserLoginAction.do">
				<s:textfield name="usersName" label="用户名" />
				<s:password name="usersPasswd" label="密   码" />
				<s:submit name="loginBtn" value="提交"></s:submit>
			</s:form>
			
			
		</div>
		
		<div id="mid"></div>
		
		<div id="right">
			<embed width="330px" height="152px"
				src="image/banner.swf" type="application/flash"/>
		</div>
		
	</div>
	<div id="bottom">
		<center>版权所有：五组成员</center>
	</div>
</body>
</html>